package io.renren.modules.sys.entity;

import java.util.List;

public class Menu {


    /**
     * id : 11
     * text : 系统管理
     * state : open
     * children : [{"id":13,"text":"<a onclick=\"NewTab('角色管理','../manage/role.jsp','13')\">角色管理<\/a>"},{"id":12,"text":"<a onclick=\"NewTab('应用管理','../manage/app.jsp','12')\">应用管理<\/a>"},{"id":16,"text":"<a onclick=\"NewTab('功能管理','../manage/functions.jsp','16')\">功能管理<\/a>"},{"id":14,"text":"<a onclick=\"NewTab('用户管理','../manage/user.jsp','14')\">用户管理<\/a>"},{"id":15,"text":"<a onclick=\"NewTab('日志管理','../manage/log.jsp','15')\">日志管理<\/a>"},{"id":234,"text":"<a onclick=\"NewTab('系统配置','../manage/systemConfig.jsp','234')\">系统配置<\/a>"},{"id":236,"text":"<a onclick=\"NewTab('商品属性','../materials/materialProperty.jsp','236')\">商品属性<\/a>"}]
     */

    private Long id;
    private String text;
    private String state;
    private List<ChildrenBean> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        /**
         * id : 13
         * text : <a onclick="NewTab('角色管理','../manage/role.jsp','13')">角色管理</a>
         */

        private Long id;
        private String text;

        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }
}
